{% load i18n %}
{% load dbapp_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% get_config_option "BROWSER_TITLE" %}- {% trans '登录' %}</title>
<link href="{{ MEDIA_URL }}/css/base.css" rel="stylesheet" type="text/css" />
<link href="{{ MEDIA_URL }}/css/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/themes/{{ request.theme }}/css/skin_butt.css" media="screen" />
{% ifequal "es" LANGUAGE_CODE %}
    <link href="{{ MEDIA_URL }}/css/abroad_att_es.css" rel="stylesheet" type="text/css" />
{% else %}
    <link href="{{ MEDIA_URL }}/css/abroad_att.css" rel="stylesheet" type="text/css" />
{% endifequal %}
<link rel="shortcut icon" href="{{ MEDIA_URL }}/images/ZKECO16.ico" type="image/x-icon" />
<script src="{{ MEDIA_URL }}/jslib/i18n.js"></script>
<script src="{{ MEDIA_URL }}/jslib/jquery.js"></script>
<script src="{{ MEDIA_URL }}/jslib/jquery.validate.js"></script>
<script src="{{ MEDIA_URL }}/jslib/jquery.plus.js"></script>
<script src="{{ MEDIA_URL }}/jslib/jquery.zcommon.js"></script>
<script src="{{ MEDIA_URL }}/jslib/jquery.tools.min.js"></script>
<script src="{{ MEDIA_URL }}/jslib/i18n_{{ LANGUAGE_CODE }}.js"></script>
</head>
<body id="ssd">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
        <div class="login_logo"></div>
        <div class="login_big_box">
            <div class="login_box">
                <!-- login type -->
                <div class="login_box_type">
                    <a href="#" class="active" onclick="cutLoginType('login-form', this);">{% trans "用户登录" %}</a>
                    <span>&nbsp;&nbsp;| &nbsp;</span>
                    <a href="#" onclick="cutLoginType('emp-login-form', this);">{% trans "员工自助登录" %}</a>
                </div>
                <!-- user login-->
                <form action="" method="post" id="login-form" >
                    <p class="error_tip">&nbsp;</p>
                    <input class="login_inp" id="id_username" name="username" type="text"  style="display:none"value=""/>
                    <input class="login_inp login_inp_tip" id="id_usernameTip" type="text" value="{% trans '用户名' %}"/>
                    <input class="login_inp" id="id_password" name="password" type="password" style="display:none" value=""/>
                    <input class="login_inp login_inp_tip" id="id_passwordTip" type="text" value="{% trans '密码'%} "/>
                    <div class="login_but">
                        <em class="l">
                            <input id="id_login" type="button" class="but_login" value="{% trans '登 录' %}"/>
                        </em>
                        <em class="r">
                           {% if "FINGER_LOGIN"|filter_config_option %}
                                <input id="fp_identify_disabled" type="button" class="but_fing_disabled" value="{% trans '指纹登录' %}" title="{% trans '请安装指纹驱动或启动该服务!'%}"/>
                                <input id="id_fp_identify" type="button" class="but_fing" value="{% trans '指纹登录' %}" style="display:none"/>
                           {% else %}
                                <input id="id_reset" type="button" class="but_reset" value="{% trans '重 置' %}"/>
                           {% endif %}
                        </em>
                    </div>
                <input type="hidden" id="id_template10"  value="" name="template10" alt=""/>
                <input type="hidden" id="id_login_type" name="login_type" alt="" value='pwd'/>
                </form>
                <!-- employee login-->
                <form action="" method="post" id="emp-login-form" style="display: none">
                    <p class="error_tip">&nbsp;</p>
                    <input class="login_inp" id="id_empName" name="username" type="text"  style="display:none"value=""/>
                    <input class="login_inp login_inp_tip" id="id_empNameTip" type="text" value="{% trans '人员编号' %}"/>
                    <input class="login_inp" id="id_empPwd" name="password" type="password" style="display:none" value=""/>
                    <input class="login_inp login_inp_tip" id="id_empPwdTip" type="text" value="{% trans '密码'%} "/>
                    <div class="login_but">
                        <em>
                            <input id="id_empLogin" type="button" class="empLoginBtn" value="{% trans '登 录' %}"/>
                        </em>
                    </div>
                </form>
            </div>
        </div>
    <div class="login_copy"><img src="{{ MEDIA_URL }}/images/abroad_att/logo_zk.png" /></div>
    </td>
  </tr>
</table>
<div class="messageBox" style="display:none;">{% trans '会话超时，请重新登录！' %}</div>
<input type ="hidden" id="id_corrent_up_info" value="{% trans '请输入正确的用户名和密码！'%}" />

<script src="{{ MEDIA_URL }}/jslib/baseISSObject.js"></script>
<script src="{{ MEDIA_URL }}/jslib/baseFPRegister.js"></script>
<script src="{{ MEDIA_URL }}/jslib/userFPLogin.js"></script>
<script src="{{ MEDIA_URL }}/jslib/login_abroad.js"></script>
</body>
</html>
